#!/bin/bash
printf "Enter your password:"
stty -echo
read pwd1</dev/tty
printf "\nEnter your password again:"
read pwd2</dev/tty
stty echo
printf "\nthe first password is: $pwd1 \n"
printf "the second password is: $pwd2 \n"
printf "all done\n"
